<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wmh="http://www.wmhelp.com/2003/eGenerator" elementFormDefault="qualified">
	<xs:element name="Log4Nez">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Configuration" minOccurs="1" maxOccurs="1"/>
				<xs:element ref="Loggers" minOccurs="1" maxOccurs="1"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Configuration" >
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="LogTraceLevel"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="LogTraceLevel">
		<xs:complexType>
			<xs:attribute name="level" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="Loggers">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Logger" minOccurs="1" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Logger">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="PropertiesMapping"/>
			</xs:sequence>
			<xs:attribute name="type" type="xs:string" use="required"/>
			<xs:attribute name="filename" type="xs:string"/>
			<xs:attribute name="connectionString" type="xs:string"/>
			<xs:attribute name="tableName" type="xs:string"/>
			<xs:attribute name="eventSourceName" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="PropertiesMapping">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="add" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="class" type="xs:string" />
		</xs:complexType>
	</xs:element>
	<xs:element name="add">
		<xs:complexType>
			<xs:attribute name="property" type="xs:string" use="required"/>
			<xs:attribute name="inLogName" type="xs:string" use="required"/>
			<xs:attribute name="order" type="xs:short" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>